package org.csu.mypetstoreback.persistence;

import org.csu.mypetstoreback.domain.Account;
import org.csu.mypetstoreback.domain.Product;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AccountMapper {
    List<Account> getAccounts();

    void deleteAccount(Account account);

    void deleteProfile(Account account);

    void deleteSignon(Account account);

    void updateAccount(Account account);

    void updateProfile(Account account);

    void updateSignon(Account account);

    Account getAccountByUsername(String username);

    List<Account> searchAccountList(String value);
}
